package com.dhecp.project.storage.domain;

import com.dhecp.common.annotation.ForUpdate;
import com.dhecp.core.domain.BaseBusinessEntityKJ;
import com.fasterxml.jackson.annotation.JsonFormat;

import java.util.Date;
import java.util.List;

/**
 * @program: kjecp
 * @description: 仓储-质检上架单
 * @author: hlf
 * @create: 2022-08-26 19:53
 */
public class Putaway extends BaseBusinessEntityKJ {

    @ForUpdate(fieldName = "商品名称")
    private String productName;//商品名称
    @ForUpdate(fieldName = "商品编号")
    private String productID;//商品编号
    @ForUpdate(fieldName = "子商品名称")
    private String sonProductName;//子商品名称
    @ForUpdate(fieldName = "子商品编码")
    private String sonProductID;//子商品编码
    @ForUpdate(fieldName = "FNSKU")
    private String fNSKU;//FNSKU
    @ForUpdate(fieldName = "采购计划单号")
    private String planID;//采购计划单号
    @ForUpdate(fieldName = "实际组装数量")
    private Integer actualNum;//实际组装数量
    @ForUpdate(fieldName = "组装单号")
    private String assembleID;//组装单号
    @ForUpdate(fieldName = "上架数量")
    private Integer num;//上架数量
    @ForUpdate(fieldName = "货位编码")
    private String goodsAllocation;//货位编码
    @ForUpdate(fieldName = "库区")
    private String goodsArea;//库区
    @ForUpdate(fieldName = "所在仓库")
    private String warehouseAddress;//所在仓库
    @ForUpdate(fieldName = "采购入库单号")
    private String storageID;//采购入库单号
    @ForUpdate(fieldName = "货位编码")
    private String vHw;			//货位编码
    @ForUpdate(fieldName = "库区")
    private String vKq;			//库区
    @ForUpdate(fieldName = "所在仓库")
    private String gDepot;		//所在仓库
    @JsonFormat(locale = "zh",timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime; //创建日期
    @JsonFormat(locale = "zh",timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    private Date updateTime; //生效日期（不进行常规插入与更新操作，通过单独功能实现，如流转）

    private String rkGuid;//入库Guid
    private String rkBid;//入库Bid

    //对多查询
    private List<Putaway> putawayList;//我调我自己

    //    虚拟字段
    private String img1;//商品图片1
    private String img2;//商品图片2
    private String putawayName;
    private String putawayId;
    private Integer sonNum;//子件BOM数量


	public String getPutawayName() {
		return putawayName;
	}

	public void setPutawayName(String putawayName) {
		this.putawayName = putawayName;
	}

	public String getPutawayId() {
		return putawayId;
	}

	public void setPutawayId(String putawayId) {
		this.putawayId = putawayId;
	}

	public String getStorageID() {
        return storageID;
    }

    public void setStorageID(String storageID) {
        this.storageID = storageID;
    }

    public String getProductName() {
        return productName;
    }

    public void setProductName(String productName) {
        this.productName = productName;
    }

    public String getProductID() {
        return productID;
    }

    public void setProductID(String productID) {
        this.productID = productID;
    }

    public String getfNSKU() {
        return fNSKU;
    }

    public void setfNSKU(String fNSKU) {
        this.fNSKU = fNSKU;
    }

    public String getPlanID() {
        return planID;
    }

    public void setPlanID(String planID) {
        this.planID = planID;
    }

    public Integer getActualNum() {
        return actualNum;
    }

    public void setActualNum(Integer actualNum) {
        this.actualNum = actualNum;
    }

    public String getAssembleID() {
        return assembleID;
    }

    public void setAssembleID(String assembleID) {
        this.assembleID = assembleID;
    }

    public Integer getNum() {
        return num;
    }

    public void setNum(Integer num) {
        this.num = num;
    }

    public String getGoodsAllocation() {
        return goodsAllocation;
    }

    public void setGoodsAllocation(String goodsAllocation) {
        this.goodsAllocation = goodsAllocation;
    }

    public String getGoodsArea() {
        return goodsArea;
    }

    public void setGoodsArea(String goodsArea) {
        this.goodsArea = goodsArea;
    }

    public String getWarehouseAddress() {
        return warehouseAddress;
    }

    public void setWarehouseAddress(String warehouseAddress) {
        this.warehouseAddress = warehouseAddress;
    }

    public List<Putaway> getPutawayList() {
        return putawayList;
    }

    public void setPutawayList(List<Putaway> putawayList) {
        this.putawayList = putawayList;
    }

    public String getSonProductName() {
        return sonProductName;
    }

    public void setSonProductName(String sonProductName) {
        this.sonProductName = sonProductName;
    }

    public String getSonProductID() {
        return sonProductID;
    }

    public void setSonProductID(String sonProductID) {
        this.sonProductID = sonProductID;
    }

    public String getvHw() {
        return vHw;
    }

    public void setvHw(String vHw) {
        this.vHw = vHw;
    }

    public String getvKq() {
        return vKq;
    }

    public void setvKq(String vKq) {
        this.vKq = vKq;
    }

    public String getgDepot() {
        return gDepot;
    }

    public void setgDepot(String gDepot) {
        this.gDepot = gDepot;
    }

    public String getImg1() {
        return img1;
    }

    public void setImg1(String img1) {
        this.img1 = img1;
    }

    public String getImg2() {
        return img2;
    }

    public void setImg2(String img2) {
        this.img2 = img2;
    }

    @Override
    public Date getCreateTime() {
        return createTime;
    }

    @Override
    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    @Override
    public Date getUpdateTime() {
        return updateTime;
    }

    @Override
    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public Integer getSonNum() {
        return sonNum;
    }

    public void setSonNum(Integer sonNum) {
        this.sonNum = sonNum;
    }

    public String getRkGuid() {
        return rkGuid;
    }

    public void setRkGuid(String rkGuid) {
        this.rkGuid = rkGuid;
    }

    public String getRkBid() {
        return rkBid;
    }

    public void setRkBid(String rkBid) {
        this.rkBid = rkBid;
    }
}